package com.wlb365.financing.common.support.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.google.common.collect.Maps;

import java.io.Serializable;
import java.util.Map;

/**
 * <p>
 * 概述：实体基类
 * </p>
 *
 * @author zwh
 * @version 1.0
 * @copyRight 北京微利宝信息技术有限公司  All right reserved.
 * @date 2020/3/21
 */
public class BaseEntity extends BasePageEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 请求参数 */
    @TableField(exist = false)
    private Map<String, Object> condition;

    public Map<String, Object> getCondition() {
        if (condition == null)
        {
            condition = Maps.newHashMap();
        }
        return condition;
    }

    public void setCondition(Map<String, Object> condition) {
        this.condition = condition;
    }
}
